package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.model.entity.Course;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface CourseMapper extends BaseMapper<Course> {
    List<Course> findAll();
    
    Course findById(Integer id);
    
    Course findByCourseName(String courseName);
    
    int insert(Course course);
    
    int update(Course course);
    
    int deleteById(Integer id);
} 